#include <cstdio>
#include <cstring>
#include <iostream>
#include <algorithm>
using namespace std;
int main()
{
	int n;
	int numA = 0;
	int numD = 0;
	scanf("%d",&n);
	char s[n];
	scanf("%s",s);
	for(int i = 0;i<n;i++)
	{
		if(s[i]=='A') numA++;
		else numD++;
	}
	if(numA>numD) puts("Anton");
	else if(numA==numD) puts("Friendship");
	else puts("Danik");
}
